package com.hy.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@TableName(value ="patient_info")
@Data
public class PatientInfo {
    @TableId(type = IdType.AUTO)

    private int id;
    private String name;
    private String phoneNumber;
    private Integer gender;
    private Integer doctorid;
    private Integer recoveryStatus;
    private Date lastMessageTime;
    private String province;
    private String city;
    private String district;
    private String diseaseType;
    private String remarks;
    private Date lastLoginTime;
    private Date registrationTime;
    private Doctors doctors;
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
